<template>
    <div style="width: 40%; margin: 30px auto">
        <a-result
            status="success"
            title="操作成功"
            sub-title="预计两小时到账"
        >
            <template #extra>
            <a-button key="console" type="primary" @click="goStepOne">再转一笔</a-button>
            <a-button key="buy">查看账单</a-button>
            </template>
        </a-result>
    </div>
</template>

<script lang="ts" setup >
import { ref } from "vue";
const emit = defineEmits(["goStepOne"])
const goStepOne = () => {
    emit("goStepOne")
}
</script>

<style scoped lang = "less">

</style>
